package demo

import (
	"gitee.com/csingo/cRpc"
	"github.com/gin-gonic/gin"
)

type HelloServiceHTTPClient struct{}

func (i *HelloServiceHTTPClient) RpcClientName() (app string, service string) {
	return "demo", "HelloService"
}
//==========文件切割符，请勿编辑==========
func (i *HelloServiceHTTPClient) Hello(ctx *gin.Context, req *HelloServiceHelloReq) (rsp *HelloServiceHelloRsp, err error) {
	rsp = &HelloServiceHelloRsp{}
	err = cRpc.Call(ctx, i, "Hello", req, rsp)
	return
}
